package GUIComponents.HlavniKomponentyComponents;

import java.awt.*;
import java.awt.geom.Rectangle2D;

/*
*   File Rect2D 
*   in package GUIComponents.HlavniKomponentyComponents
*   was created by slaha
*   on 2.5.12 at 11:39.
*
*/
public class Rect2D extends Rectangle2D.Double {
  public String jmenoBasne;
  public String autor;

  /**
   * Constructs and initializes a <code>Rectangle2D</code>
   * from the specified <code>double</code> coordinates.
   *
   * @param x the X coordinate of the upper-left corner
   *          of the newly constructed <code>Rectangle2D</code>
   * @param y the Y coordinate of the upper-left corner
   *          of the newly constructed <code>Rectangle2D</code>
   * @param w the width of the newly constructed
   *          <code>Rectangle2D</code>
   * @param h the height of the newly constructed
   *          <code>Rectangle2D</code>
   * @since 1.2
   */
  public Rect2D(double x, double y, double w, double h, String jmenoBasne,String autor) {
    super(x, y, w, h);
    this.jmenoBasne = jmenoBasne;
    this.autor = autor;
  }
}
